function partialUsingArguments(fn) {
  let arg = Array.prototype.slice.call(arguments);

  arg.shift();

  const result = function () {
    return fn(...arg.concat(Array.prototype.slice.call(arguments)));
  };

  return result;
}
